package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(title = "SysUserPasswordDTO", description = "修改用户密码的入参")
public class SysUserPasswordDTO {

    @Schema(title = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    @Schema(title = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
